import Schoolinfo from './schoolinfo.vue'
import SchoolinfoAdd from './schoolinfoAdd.vue'
import SchoolinfoSearch from './schoolinfoSearch.vue'
import SchoolinfoView from './schoolinfoView.vue'

const components = [
    Schoolinfo,
    SchoolinfoAdd,
    SchoolinfoSearch,
    SchoolinfoView
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}
export default main
